package com.jfree.nettyshow;

import com.jfree.nettyshow.server.Server;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class NettyShowApplication {

    public static void main(String[] args) throws Exception {
        SpringApplication.run(NettyShowApplication.class, args);
        new Thread(() -> {
            try {
                new Server().bind(5641);
            } catch (Exception e) {

            }
        }).start();

    }

}
